Synchronization under a Commercial Operating System

نویسندگان

  • Jørn Jensen
  • Søren Lauesen
  • Anders P. Ravn
چکیده

The principles of mutual exclusion and semaphore synchronization of concurrent processes ('tasks') have been widely known for years, and the use of these principles for constructing reliable real-time systems has been demonstrated several times.1• 2• 4 • 8 • 9 Yet, most commercially available real-time operating systems do not provide tools to match the principles. When designing a real-time system for a particular computer, you then have three choices: 1. To develop an operating system of your own. 2. To use a commercially available operating system and try to implement the wellknown principles. 3. To replace the well-known principles by ad hoc programming. The authors have had long experience with the first choice, which gave high-quality dedicated systems. However, the systems required by customers tended to become less and less 'dedicated': customers wanted to develop modules of their own on the 'dedicated' system. In order to follow choice (1), we would have to develop or maintain several compilers, editors, etc. for our own operating systems. And that is extremely more costly than developing an operating system for a dedicated system. Consequently we had to consider the second choice more seriously. The computer in question was the PDP-11 and the real-time operating system supplied by the manufacturer was RSX-11M. With this given, we tried to implement mutual exclusion and semaphore synchronization among tasks (jobs) running under RSX. If it could be done efficiently, a major problem would be solved. RSX provides a large set of 'synchronization' operations. Two operations provide simple stop and start of tasks: suspend Stops the calling task temporarily until it is started by another task. resume(Q) Starts the task Q, provided that it is already suspended.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Non-Blocking Synchronization and Object-Oriented Operating System Design

Mutual exclusion is typically employed for multiprocess synchronization. However, Massalin and Pu [MP91], and Greenwald and Cheriton [GC96] have implemented complete operating systems using non-blocking synchronization instead of mutual exclusion. Although most operating systems are implemented using procedural languages, both of these systems have significant object-oriented characteristics. W...

متن کامل

The Assessment of Operational Efficiency of Commercial Banks in India Using Cost to Income Ratio Approach

During the last two decades, financial institutions worldwide have witnessed a lot of stress in managing their margins in wake of the new risks, challenges and increase in the competition posed to them by the factors of liberalization and deregulation. The key to create value and achieve competitive edge lies in the better operational efficiency and productivity of these institutions under such...

متن کامل

A Revisitation of Kernel Synchronization Schemes

In an operating system kernel, critical sections of code must be protected from interruption. This is traditionally accomplished by masking the set of interrupts whose handlers interfere with the correct operation of the critical section. Because it can be expensive to communicate with an off-chip interrupt controller, more complex optimistic techniques for masking interrupts have been proposed...

متن کامل

Fuzzy Modeling and Synchronization of a New Hyperchaotic Complex System with Uncertainties

In this paper, the synchronization of a new hyperchaotic complex system based on T-S fuzzy model is proposed. First, the considered hyperchaotic system is represented by T-S fuzzy model equivalently. Then, by using the parallel distributed compensation (PDC) method and by applying linear system theory and exact linearization (EL) technique, a fuzzy controller is designed to realize the synchron...

متن کامل

Ultisvnc: Vnchronization

Synchronization among various media sources is one of the most important iss:ues in multimedia communications and various audiolvideo ( A N ) applications. For continuous playback (such as lip synchronization) under a time-sharing multipracessing operating system (such as UNIX), the synchronization quality of traditional synchronization mechanisms employed on single processes may vary according...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 9  شماره 

صفحات  -

تاریخ انتشار 1979